package com.example.victory.swagger.model;

import java.util.Objects;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;

/**
 * 龙虎榜用户信息
 */
@ApiModel(description = "龙虎榜用户信息")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class AccountAttendInfo   {
  @JsonProperty("user")
  private AccountAttendInfoUser user = null;

  @JsonProperty("dept")
  private AccountAttendInfoDept dept = null;

  @JsonProperty("attendManager")
  private AccountAttendInfoAttendManager attendManager = null;

  public AccountAttendInfo user(AccountAttendInfoUser user) {
    this.user = user;
    return this;
  }

  /**
   * Get user
   * @return user
  **/
  @ApiModelProperty(value = "")

  @Valid

  public AccountAttendInfoUser getUser() {
    return user;
  }

  public void setUser(AccountAttendInfoUser user) {
    this.user = user;
  }

  public AccountAttendInfo dept(AccountAttendInfoDept dept) {
    this.dept = dept;
    return this;
  }

  /**
   * Get dept
   * @return dept
  **/
  @ApiModelProperty(value = "")

  @Valid

  public AccountAttendInfoDept getDept() {
    return dept;
  }

  public void setDept(AccountAttendInfoDept dept) {
    this.dept = dept;
  }

  public AccountAttendInfo attendManager(AccountAttendInfoAttendManager attendManager) {
    this.attendManager = attendManager;
    return this;
  }

  /**
   * Get attendManager
   * @return attendManager
  **/
  @ApiModelProperty(value = "")

  @Valid

  public AccountAttendInfoAttendManager getAttendManager() {
    return attendManager;
  }

  public void setAttendManager(AccountAttendInfoAttendManager attendManager) {
    this.attendManager = attendManager;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AccountAttendInfo accountAttendInfo = (AccountAttendInfo) o;
    return Objects.equals(this.user, accountAttendInfo.user) &&
        Objects.equals(this.dept, accountAttendInfo.dept) &&
        Objects.equals(this.attendManager, accountAttendInfo.attendManager);
  }

  @Override
  public int hashCode() {
    return Objects.hash(user, dept, attendManager);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AccountAttendInfo {\n");
    
    sb.append("    user: ").append(toIndentedString(user)).append("\n");
    sb.append("    dept: ").append(toIndentedString(dept)).append("\n");
    sb.append("    attendManager: ").append(toIndentedString(attendManager)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

